<?php
/* @var $this KecamatanController */
/* @var $model Kecamatan */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'search',
    'action'=>Yii::app()->createUrl($this->route),
    'type' => 'horizontal',
    'method'=>'get',
    'enableAjaxValidation' => false,
    ));
?>

    <div class="alert alert-info">
	<div class="control-group">
		<?php echo $form->label($model,'kode_kec'); ?>
            <div class="controls">        
		<?php echo $form->textField($model,'kode_kec',array('size'=>2,'maxlength'=>2)); ?>
            </div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'nama_kec'); ?>
            <div class="controls">
		<?php echo $form->textField($model,'nama_kec',array('size'=>50,'maxlength'=>50)); ?>
                </div>    
	</div>

       <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'buttonType' => 'submit',
                'type' => 'success',
				'icon' => 'search',
                                'label' => 'Cari',
                                'htmlOptions'=>array('style'=>'margin-left:130px'),                                
            ));
       ?>

<?php $this->endWidget(); ?>

</div><!-- search-form -->